type friedsLists = {
  id: number
  userName: string
  password: string
  nickName: string
  avatar: string
  role: string
  status: boolean
  createdAt: string
  updatedAt: string
}

interface IChatFriendListsResult {
  list: friedsLists[]
}

interface IContent {
  time: string
  my?: string
  he?: string
}

interface IChatRecord {
  id: number
  userId: number
  friend: number
  content: IContent[]
  status: boolean
  createdAt: string
  updatedAt: string
}

interface IChatFriendRecord {
  records: IChatRecord
}

export { IChatFriendListsResult, friedsLists, IChatFriendRecord, IChatRecord }
